import { Component, Prop, Vue } from "vue-property-decorator";
import ProItem from "./components/pro-item";

@Component({
    components:{ProItem}
})
export default class indexProType extends Vue {
    @Prop({type:Number,default:1}) proType: any;

    @Prop({type:Object,default:()=>{
        return {
            name:'手机',
            coverImg:'https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/cb1bd61ad71c45a4f67f09b075463944.jpeg?thumb=1&w=234&h=614&f=webp&q=90',
            proType:1,
            child:[
                {
                    id:1,
                    name:'小米 10s',
                    title:'骁龙870 | 对称式双扬立体声',
                    price:3299,
                    img:'http://cdn.cnbj1.fds.api.mi-img.com/mi-mall/b3553083a4975325eab6470d94465548.jpg?thumb=1&w=200&h=200&f=webp&q=90'
                },
                {
                    id:2,
                    name:'小米 10s',
                    title:'骁龙870 | 对称式双扬立体声',
                    price:3299,
                    img:'https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/68217751d12b1bfd2f9766e458b5e2dd.jpg?thumb=1&w=200&h=200&f=webp&q=90'
                }, {
                    id:3,
                    name:'小米 10s',
                    title:'骁龙870 | 对称式双扬立体声',
                    price:3299,
                    img:'https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/73617424da6ff6b64f9c630387bca874.jpg?thumb=1&w=200&h=200&f=webp&q=90'
                },
                {
                    id:4,
                    name:'小米 10s',
                    title:'骁龙870 | 对称式双扬立体声',
                    price:3299,
                    img:'https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/5a260090e0e08770b0bd865845a4b4ab.jpg?thumb=1&w=200&h=200&f=webp&q=90'
                }, {
                    id:5,
                    name:'小米 10s',
                    title:'骁龙870 | 对称式双扬立体声',
                    price:3299,
                    img:'http://cdn.cnbj1.fds.api.mi-img.com/mi-mall/b3553083a4975325eab6470d94465548.jpg?thumb=1&w=200&h=200&f=webp&q=90'
                }, {
                    id:6,
                    name:'小米 10s',
                    title:'骁龙870 | 对称式双扬立体声',
                    price:3299,
                    img:'http://cdn.cnbj1.fds.api.mi-img.com/mi-mall/b3553083a4975325eab6470d94465548.jpg?thumb=1&w=200&h=200&f=webp&q=90'
                }, {
                    id:7,
                    name:'小米 10s',
                    title:'骁龙870 | 对称式双扬立体声',
                    price:3299,
                    img:'http://cdn.cnbj1.fds.api.mi-img.com/mi-mall/b3553083a4975325eab6470d94465548.jpg?thumb=1&w=200&h=200&f=webp&q=90'
                }, {
                    id:8,
                    name:'小米 10s',
                    title:'骁龙870 | 对称式双扬立体声',
                    price:3299,
                    img:'http://cdn.cnbj1.fds.api.mi-img.com/mi-mall/b3553083a4975325eab6470d94465548.jpg?thumb=1&w=200&h=200&f=webp&q=90'
                }
            ]
        }
    }}) detail: any;
}
